package com.gitee.zhanyao.codebase.java.reflect.controller;

import com.gitee.zhanyao.codebase.java.reflect.model.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhanyao
 */
@RestController
public class LambdaController {

    @PostMapping("/getUser")
    public User getUser(@RequestBody User user) {
        return user;
    }

}
